package com.ruikong.dazhi.service.base;

import com.github.pagehelper.PageInfo;
import com.ruikong.dazhi.controller.result.BaseResult;
import com.ruikong.dazhi.entity.base.Role;
import com.ruikong.dazhi.model.input.BasePageInput;
import com.ruikong.dazhi.model.input.RoleInput;

import java.util.List;

/**
 * @program: dailychemicalmes
 * @description:
 * @author: tybengine
 * @create: 2020-12-02 09:54
 **/
public interface IRoleService {

    int addRole(BaseResult result, RoleInput roleInput);

    PageInfo<Role> getRoleListPage(BasePageInput input);

    List<Role> getRoleList();

    int updateRole(RoleInput roleInput, BaseResult result);

    int deleteRole(Role role, BaseResult result);

}
